package com.tju.resource.business.ser;

import cn.hutool.json.JSONObject;

public interface SerInfoService {

    class KEY_ENUM {
        /**处理器型号*/
        public static final String CPU_MODEL = "cpuModel";
        /**核心数*/
        public static final String CPU_CORES = "cpuCore";
        /**线程数*/
        public static final String CPU_PROCESS = "cpuProcess";
        /**cpu用户使用率*/
        public static final String CPU_USER_USAGE = "cpuUserUsage";
        /**cpu系统使用率*/
        public static final String CPU_SYS_USAGE = "cpuSysUsage";
        /**cpu空闲使用率*/
        public static final String CPU_FREE_USAGE = "cpuFreeUsage";
        /**jvm内存已使用*/
        public static final String JVM_MEMORY_USAGE = "jvmMemoryUsage";
        /**jvm内存使用率*/
        public static final String JVM_MEMORY_USAGE_CENT = "jvmMemoryUsageCent";
        /**jvm空闲内存*/
        public static final String JVM_MEMORY_FREE = "jvmMemoryFree";
        /**jvm总内存*/
        public static final String JVM_MEMORY_TOTAL = "jvmMemoryTotal";
        /**jvm启动时间*/
        public static final String JVM_START_TIME = "jvmStartTime";
        /**jvm运行时间*/
        public static final String JVM_RUN_TIME = "jvmRunTime";
        /**jvm名称*/
        public static final String JVM_NAME = "jvmName";
        /**jdk版本*/
        public static final String JDK_VERSION = "jdkVersion";
        /**jdk路径*/
        public static final String JDK_PATH = "jdkPath";
        /**内存总量*/
        public static final String MEMORY_TOTAL = "memoryTotal";
        /**已使用内存*/
        public static final String MEMORY_USAGE = "memoryUsage";
        /**空闲内存*/
        public static final String MEMORY_FREE = "memoryFree";
        /**内存使用率*/
        public static final String MEMORY_USAGE_CENT = "memoryUsageCent";
        /**服务器内网IP*/
        public static final String SERVER_LOCAL_IP = "serverLocalIp";
        /**服务器操作系统*/
        public static final String SERVER_OS_MODEL = "serverOsModel";
        /**服务器操作系统架构*/
        public static final String SERVER_OS_ARCH = "serverOsArch";
        /**服务器计算机名称*/
        public static final String SERVER_COMP_NAME = "serverCompName";
        /**工作目录\项目路径*/
        public static final String WORK_DIR = "workDir";
        /**自盘信息数组*/
        public static final String DISK_LIST = "diskList";
        /**盘符名称*/
        public static final String DISK_PATH = "diskPath";
        /**盘符类型*/
        public static final String DISK_TYPE = "diskType";
        /**盘符名称*/
        public static final String DISK_NAME = "diskName";
        /**磁盘总大小*/
        public static final String DISK_SIZE_TOTAL = "diskSizeTotal";
        /**磁盘可用大小*/
        public static final String DISK_SIZE_FREE = "diskSizeFree";
        /**磁盘已使用大小*/
        public static final String DISK_SIZE_USAGE = "diskSizeUsage";
        /**磁盘空间使用率*/
        public static final String DISK_SIZE_USAGE_CENT = "diskSizeUsageCent";
    }

    JSONObject all();

    JSONObject cpu();

    JSONObject memory();

    JSONObject jvm();

    JSONObject jdk();

    JSONObject about();

    JSONObject pro();

    JSONObject disk();

}
